package com.cn.hnust.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.hnust.pojo.Strategy;
import com.cn.hnust.util.Page;

public interface StrategyMapper {
	 int deleteByPrimaryKey(Integer id);

	    int insert(Strategy user);

	    int insertSelective(Strategy record);

	    Strategy selectByPrimaryKey(Integer id);
	    
	    List<Strategy> getUsers();

	    int updateByPrimaryKeySelective(Strategy record);

	    int updateByPrimaryKey(Strategy record);
	    
	    Strategy getUser(int id);

	    List<Strategy> selectPersons(@Param("scenic_name")String scenic_name,@Param("page")Page page);
	    
	    List<Strategy> queryAllRecord(@Param("page")Page page);

	    List<Strategy> queryReception();
	    
	    int getCount();
	    
	    int getCountmh(@Param("scenic_name")String scenic_name);
}
